<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <link rel="stylesheet" href="css/header.css">

</head>

<body>
    <div class="header">
        <div class="login">
            <a href="registry.html">请注册</a>
            <a href="login.html">请登录</a>
        </div>
        <div class="admin" style="display: none;">
            <span></span>：欢迎光临
            <a href="javascript:;">退出</a>
        </div>
    </div>
    <div class="nav"></div>
    <fieldset style="width:1160px;margin:10px auto;">
        <legend>用户登录</legend>
        <form action="">
            <p>
                <label for="">用户名：</label>
                <input type="text" class="username">
                <span class="checkspan"></span>
            </p>
            <p>
                <label for="">密&emsp;码：</label>
                <input type="password" class="password">
                <span class="checkspan"></span>
            </p>
            <p><input type="button" value="用户登录" class="btn"> <a href="registry.html">用户注册</a></p>
        </form>
    </fieldset>
</body>

</html>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="script/login.js"></script>
<!-- 
    注册的需求
    1.表单验证
    2.先将用户名传递给后端，后端跟数据库判断，返回结果。
    3.用户名存在的情况下，将密码传递给后端，后端跟数据库判断，返回结果。
 -->